package com.common.account.service.impl;

import com.common.account.entity.MyRedis;
import com.common.account.service.StringRedisTemplate;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class StringRedisTemplateImpl implements StringRedisTemplate {

    private final MyRedis myRedis;

    /**
     * 行动价值
     *
     * @return {@link MyRedis}
     */
    @Override
    public MyRedis opsForValue() {
        return myRedis;
    }
}
